/*
 * gs_tank.c
 */

#include "gs_controls.h"

BOOL RegisterGsControls(void)
{
    if (!RegisterGsButton()) {
        printf ("Register GS_SOFTKEY Control Failur\n");
        return FALSE;
    }

    if (!RegisterGsTitle()) {
        printf ("Register GS_SOFTKEY Control Failur\n");
        return FALSE;
    }

    if (!RegisterGsCtrlTank()) {
        printf ("Register GS_SOFTKEY Control Failur\n");
        return FALSE;
    }

    if (!RegisterGsSingle()) {
        printf ("Register GS_SOFTKEY Control Failur\n");
        return FALSE;
    }

    if(!RegisterGsTable()) {
        printf ("Register GS_SOFTKEY Control Failur\n");
        return FALSE;
    }
    
    if (!RegisterGsSoftkey()) {
        printf ("Register GS_SOFTKEY Control Failur\n");
        return FALSE;
    }

    return TRUE;
}

void UnregisterGsControls(void)
{
    UnregisterGsButton();
    UnregisterGsTitle();
    UnregisterGsCtrlTank();
    UnregisterGsSingle();
    UnregisterGsTable();
    UnregisterGsSoftkey();
}
